﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using MVCExtension.Authorize;
using System.Web.Http;
 namespace MVCExtension
{
    /// <summary>
    /// Controller级别的日志记录
    /// 使用方法：需要启用日志记录的Controller都改为继承自BaseController
    /// </summary>
    [AuthorizeFilter]//权限过滤
    [ExceptionLog]
    public class BaseController : Controller
    {
        
    }

    /// <summary>
    /// Controller级别的日志记录
    /// 使用方法：需要启用日志记录的ApiController都改为继承自BaseApiController
    /// </summary>
    [AuthorizeFilter]//权限过滤
    [ExceptionLog]
    public class BaseApiController : ApiController
    {
         
    }
}
